/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package smartgrid;

import ETL.dayLine;
import java.util.ArrayList;
import java.util.GregorianCalendar;
import java.util.List;
import java.util.TreeSet;
import javax.ejb.Local;
import smartgrid.exceptions.NoDataAvailableException;

/**
 *
 * @author daniel
 */
@Local
public interface EltricStatsManagerLocal {

    EltricStats getEletricStats(GregorianCalendar begin, GregorianCalendar end, Contract contract, short type) throws NoDataAvailableException;

    EltricStats getElectricStatsByMaterializedDay(GregorianCalendar begin, GregorianCalendar end, Contract c);
    
    MoneyStats getMoneyStats(GregorianCalendar begin, GregorianCalendar end, Contract contract, short type) throws NoDataAvailableException;
    
    MoneyStats getMoneyPrevisions(Tariff tariff, EltricStats elStats);
   // List<dayLine> getDayLines(GregorianCalendar day, org.hibernate.Session ss);
    
    //TreeSet<RankingElem> getRanking(ArrayList<FaceBookAccount> amigos);

    public java.util.TreeSet<smartgrid.RankingElem> getRanking(java.util.ArrayList<java.lang.String> amigos);
}
